﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ETL.Common;

namespace ETL.Business.Handlers.SessionHandler
{
    public class GetSessionCategory
    {
        private SessionHelper sessionHelper = null;
        public GetSessionCategory()
        {
            sessionHelper = new SessionHelper();
        }
        public virtual string Current()
        {
            var crnt = sessionHelper.GetValue(Constants.SessionVars.CurrentCategoryId);
            return crnt;
        }
        public virtual string Last()
        {
            var last = sessionHelper.GetValue(Constants.SessionVars.LastCategoryId);
            return last;
        }
    }
}
